package com.project.server.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import io.swagger.v3.oas.annotations.media.Schema;

import java.time.LocalDateTime;

@Data
@TableName("restaurant")
@Schema(description = "餐厅")
public class Restaurant {
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 餐厅名称
     */
    private String name;

    /**
     * 地址
     */
    private String address;

    /**
     * 联系电话
     */
    private String phone;

    /**
     * 营业时间
     */
    private String businessHours;

    /**
     * 描述信息
     */
    private String description;

    /**
     * 状态：0-关闭 1-营业
     */
    private Integer status;

    @Schema(description = "餐厅图片")
    private String image;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;







}
